package com.mobilepay.moneypig.response.home;

import com.google.gson.annotations.SerializedName;
import com.mobilepay.moneypig.response.ResponseResult;

/**
 * Created by xlm on 2017/8/11 0011
 */

public class ACreditSuccessData extends ResponseResult {

    /**
     * data : {"product":{"id":6,"scene_id":2,"title":"平安银行信用卡","abstract":" ","main":"加油88折、全国免费道路救援","background":124,"cover":129,"url":"http://www.hiima.cn/promot/product/click_url/spm/110111_110010.696.html","start_time":0,"end_time":0,"bonus":"0.00","sort":100,"status":1,"create_time":1502368087,"update_time":1502418757},"probusiness":{"uid":"58","real_name":"谢黎明","mobile":"18358190832"}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * product : {"id":6,"scene_id":2,"title":"平安银行信用卡","abstract":" ","main":"加油88折、全国免费道路救援","background":124,"cover":129,"url":"http://www.hiima.cn/promot/product/click_url/spm/110111_110010.696.html","start_time":0,"end_time":0,"bonus":"0.00","sort":100,"status":1,"create_time":1502368087,"update_time":1502418757}
         * probusiness : {"uid":"58","real_name":"谢黎明","mobile":"18358190832"}
         */

        private ProductBean product;
        private ProbusinessBean probusiness;

        public ProductBean getProduct() {
            return product;
        }

        public void setProduct(ProductBean product) {
            this.product = product;
        }

        public ProbusinessBean getProbusiness() {
            return probusiness;
        }

        public void setProbusiness(ProbusinessBean probusiness) {
            this.probusiness = probusiness;
        }

        public static class ProductBean {
            /**
             * id : 6
             * scene_id : 2
             * title : 平安银行信用卡
             * abstract :
             * main : 加油88折、全国免费道路救援
             * background : 124
             * cover : 129
             * url : http://www.hiima.cn/promot/product/click_url/spm/110111_110010.696.html
             * start_time : 0
             * end_time : 0
             * bonus : 0.00
             * sort : 100
             * status : 1
             * create_time : 1502368087
             * update_time : 1502418757
             */

            private int id;
            private int scene_id;
            private String title;
            @SerializedName("abstract")
            private String abstractX;
            private String main;
            private int background;
            private int cover;
            private String url;
            private long start_time;
            private long end_time;
            private String bonus;
            private int sort;
            @SerializedName("status")
            private int statusX;
            private long create_time;
            private long update_time;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getScene_id() {
                return scene_id;
            }

            public void setScene_id(int scene_id) {
                this.scene_id = scene_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAbstractX() {
                return abstractX;
            }

            public void setAbstractX(String abstractX) {
                this.abstractX = abstractX;
            }

            public String getMain() {
                return main;
            }

            public void setMain(String main) {
                this.main = main;
            }

            public int getBackground() {
                return background;
            }

            public void setBackground(int background) {
                this.background = background;
            }

            public int getCover() {
                return cover;
            }

            public void setCover(int cover) {
                this.cover = cover;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public long getStart_time() {
                return start_time;
            }

            public void setStart_time(long start_time) {
                this.start_time = start_time;
            }

            public long getEnd_time() {
                return end_time;
            }

            public void setEnd_time(long end_time) {
                this.end_time = end_time;
            }

            public String getBonus() {
                return bonus;
            }

            public void setBonus(String bonus) {
                this.bonus = bonus;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getStatusX() {
                return statusX;
            }

            public void setStatusX(int statusX) {
                this.statusX = statusX;
            }

            public long getCreate_time() {
                return create_time;
            }

            public void setCreate_time(long create_time) {
                this.create_time = create_time;
            }

            public long getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(long update_time) {
                this.update_time = update_time;
            }
        }

        public static class ProbusinessBean {
            /**
             * uid : 58
             * real_name : 谢黎明
             * mobile : 18358190832
             */

            private String uid;
            private String real_name;
            private String mobile;

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getReal_name() {
                return real_name;
            }

            public void setReal_name(String real_name) {
                this.real_name = real_name;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }
        }
    }
}
